<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'head.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style> 
body{background-color:#0076a4} 
</style>
  </head>
  
  <body>
    	<span style="color: #ffffff" >用户名：</span><span style="color: #ffffff" class="username"><s:property value="#session.username" /></span>
    	<a href="loginout" target="_parent"> <span style="color: #ff0000">注销</span></a>
    	<br>
    	<span style="color: #ffffff" >身份：</span><span style="color: #ffffff" class="username"><s:property value="#session.role" /></span>
    	<a href="Admin/ModifyPsw.jsp" target="main"> <span style="color: #ffffff">修改密码</span></a>
    	
    	<div align=right><img src="img/head.jpg" width=170px height=23px></div>
  </body>
</html>
